Skip to content

chore(deps-dev): bump @types/node from 22.19.17 to 24.12.2 in the dev-dependencies group#30

Closed
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/dev-dependencies-1b63a0c083
Closed

chore(deps-dev): bump @types/node from 22.19.17 to 24.12.2 in the dev-dependencies group#30
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/dev-dependencies-1b63a0c083

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Apr 18, 2026

Bumps the dev-dependencies group with 1 update: @types/node.

Updates @types/node from 22.19.17 to 24.12.2

Commits

Most Recent Ignore Conditions Applied to This Pull Request
Dependency Name Ignore Conditions
@types/node [>= 25.a, < 26]

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Summary by cubic

Upgraded Node type definitions to v24 to align with current Node APIs and improve type accuracy. Dev-only change with no runtime impact.

  • Dependencies
    • Updated @types/node from ^22.19.17 to ^24.12.2 in root, packages/cli, and packages/mcp.
    • Transitive update: undici-types to ~7.16.0.

Written for commit c923869. Summary will update on new commits.

Bumps the dev-dependencies group with 1 update: [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node).


Updates `@types/node` from 22.19.17 to 24.12.2
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 24.12.2
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: dev-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Apr 18, 2026
Copy link
Copy Markdown

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 issue found across 4 files

Prompt for AI agents (unresolved issues)

Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.


<file name="package.json">

<violation number="1" location="package.json:19">
P2: `@types/node` is ahead of the minimum supported runtime (`node >=22`), which can mask use of Node 24-only APIs and cause runtime breaks on Node 22.</violation>
</file>

Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.

Comment thread package.json
"devDependencies": {
"@biomejs/biome": "~2.4.12",
"@types/node": "^22.19.17",
"@types/node": "^24.12.2",
Copy link
Copy Markdown

@cubic-dev-ai cubic-dev-ai Bot Apr 18, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2: @types/node is ahead of the minimum supported runtime (node >=22), which can mask use of Node 24-only APIs and cause runtime breaks on Node 22.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At package.json, line 19:

<comment>`@types/node` is ahead of the minimum supported runtime (`node >=22`), which can mask use of Node 24-only APIs and cause runtime breaks on Node 22.</comment>

<file context>
@@ -16,7 +16,7 @@
 	"devDependencies": {
 		"@biomejs/biome": "~2.4.12",
-		"@types/node": "^22.19.17",
+		"@types/node": "^24.12.2",
 		"@vitest/coverage-v8": "^4.1.4",
 		"typescript": "^6.0.3",
</file context>
Suggested change
"@types/node": "^24.12.2",
"@types/node": "^22.19.17",
Fix with Cubic

@SingleSourceStudios
Copy link
Copy Markdown
Collaborator

Closing per #29 discussion. Our policy: @types/node must trail engines.node, never lead it. This PR bumps types to v24 while engines.node remains on 22, which is exactly the mismatch #29 flags as unsafe.

A follow-up PR adds a dependabot ignore rule for @types/node semver-major bumps so this class of PR stops auto-opening. When we're ready to move engines.node to 24, we'll bump the CI matrix first, then let types follow.

@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github Apr 18, 2026

This pull request was built based on a group rule. Closing it will not ignore any of these versions in future pull requests.

To ignore these dependencies, configure ignore rules in dependabot.yml

@dependabot dependabot Bot deleted the dependabot/npm_and_yarn/dev-dependencies-1b63a0c083 branch April 18, 2026 22:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant